﻿@model VehicleList.Models.Vehicle

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>


<fieldset>
    <legend>Vehicle</legend>

    <div class="display-label">vehicleYear</div>
    <div class="display-field">@Model.vehicleYear</div>

    <div class="display-label">vehicleMake</div>
    <div class="display-field">@Model.vehicleMake</div>

    <div class="display-label">vehicleModel</div>
    <div class="display-field">@Model.vehicleModel</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.vehicleId }) |
    @Html.ActionLink("Back to List", "Index")
</p>

